import request from '../../utils/request'
import type { TSystemTitle } from '../../Types/system'

// 获取系统标题
export const getSystemTitleService = () => request.get('/public/title')

// 更新系统标题
export const updateSystemTitleService = (data: TSystemTitle) => request.put('/public/title', data)
